const obj = {
    name: '张律师',
    age: 250,
    hobbies: ['篮球', '游泳']
  };
  
  const jsonString = JSON.stringify(obj);
  console.log(jsonString); 
  
  const parsedObj = JSON.parse(jsonString);
  console.log(parsedObj); 
  